#include <51func.h>
int main(int argc, char *argv[])
{
    int fd = open("file1",O_WRONLY);
    if(fork()){
        sleep(1);
        write(fd,"world",5);
    }
    else{
        write(fd,"hello",5);
    }
    return 0;
}

